/*
 *  Planet.h
 *  GLRender
 *
 *  Created by Patrick zulian on 5/26/10.
 *  Copyright 2010 University  of Lugano. All rights reserved.
 *
 */

#ifndef PLANET_H
#define PLANET_H


#include "WMovingObject.h"
#include "GLObject.h"

class Planet : public WMovingObject, public GLObject  {
public:
	Planet(const Point3d &position, const double _mass = 10.0, const double radius = 20.0);
	void renderOn(AbstractRenderer *renderer);
	void onCollision (WObject *from);
};


#endif

